package 创建者模式.建造者模式;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/3/4 13:06
 */

public class MobikeBuilder extends Builder{
    @Override
    public void buildFrame() {
        System.out.println("摩拜车架");
        bike.setFrame("摩拜车架");
    }

    @Override
    public void buildSeat() {
        System.out.println("摩拜车座");
        bike.setSeat("摩拜车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
